
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置Boat的AutoMapper
    /// </summary>
	internal static class BoatMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <Boat,BoatListDto>();
            configuration.CreateMap <BoatListDto,Boat>();

            configuration.CreateMap <BoatEditDto,Boat>();
            configuration.CreateMap <Boat,BoatEditDto>();

        }
	}
}
